﻿using System.Web.Mvc;

namespace GSLMS.WebAPP.Areas.CustManage
{
    public class CustManageAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "CustManage";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
              "CustManage_CustSum",
              "CustManage/{controller}/{action}/{id}",
              new { action = "Index", id = UrlParameter.Optional }
          );
            context.MapRoute(
             "CustManage_CustBad",
             "CustManage/{controller}/{action}/{id}",
             new { action = "Index", id = UrlParameter.Optional }
         );
            context.MapRoute(
            "CustManage_CustDeny",
            "CustManage/{controller}/{action}/{id}",
            new { action = "Index", id = UrlParameter.Optional }
        );
        //    context.MapRoute(
        //       "RiskAudit_Apply",
        //       "RiskAudit/Apply/{controller}/{action}/{id}",
        //       new { action = "Index", id = UrlParameter.Optional }
        //   );

        //    context.MapRoute(
        //        "RiskAudit_default",
        //        "RiskAudit/{controller}/{action}/{id}",
        //        new { action = "Index", id = UrlParameter.Optional }
        //    );
        }
    }
}
